package com.ruoyi.fun.service;

import java.util.List;
import com.ruoyi.fun.domain.EcLogisticsTrack;

/**
 * 物流轨迹Service接口
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public interface IEcLogisticsTrackService 
{
    /**
     * 查询物流轨迹
     * 
     * @param trackId 物流轨迹主键
     * @return 物流轨迹
     */
    public EcLogisticsTrack selectEcLogisticsTrackByTrackId(Long trackId);

    /**
     * 查询物流轨迹列表
     * 
     * @param ecLogisticsTrack 物流轨迹
     * @return 物流轨迹集合
     */
    public List<EcLogisticsTrack> selectEcLogisticsTrackList(EcLogisticsTrack ecLogisticsTrack);

    /**
     * 新增物流轨迹
     * 
     * @param ecLogisticsTrack 物流轨迹
     * @return 结果
     */
    public int insertEcLogisticsTrack(EcLogisticsTrack ecLogisticsTrack);

    /**
     * 修改物流轨迹
     * 
     * @param ecLogisticsTrack 物流轨迹
     * @return 结果
     */
    public int updateEcLogisticsTrack(EcLogisticsTrack ecLogisticsTrack);

    /**
     * 批量删除物流轨迹
     * 
     * @param trackIds 需要删除的物流轨迹主键集合
     * @return 结果
     */
    public int deleteEcLogisticsTrackByTrackIds(Long[] trackIds);

    /**
     * 删除物流轨迹信息
     * 
     * @param trackId 物流轨迹主键
     * @return 结果
     */
    public int deleteEcLogisticsTrackByTrackId(Long trackId);

    /**
     * 根据trackId和组织ID查询LogisticsTrack
     * 
     * @param trackId LogisticsTrack主键
     * @param orgId 组织ID
     * @return LogisticsTrack
     */
    public EcLogisticsTrack selectEcLogisticsTrackByTrackIdAndOrgId(Long trackId, Long orgId);

    /**
     * 根据组织ID查询LogisticsTrack列表
     * 
     * @param eclogisticstrack LogisticsTrack
     * @param orgId 组织ID
     * @return LogisticsTrack集合
     */
    public List<EcLogisticsTrack> selectEcLogisticsTrackListByOrgId(EcLogisticsTrack eclogisticstrack, Long orgId);
}
